﻿@page "/aaa"

@namespace BlazorLearn.Shared.Pages

<table class="table table-hover">
    <thead>
        <tr>
            <th>姓名</th>
            <th>手机</th>
            <th>邮箱</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        @if (IsLoading)
        {
            <tr>
                <td colspan="4">
                    数据加载中...
                </td>
            </tr>
        }
        @foreach (var item in Users)
        {
            <tr>
                <td>@item.Name</td>
                <td>@item.Phone</td>
                <td>@item.Email</td>
                <td></td>
            </tr>
        }
    </tbody>
</table>